power = 1
y = 0.01
z = 0.001
for i in range (365) :
    if i % 4 in [1,2,3] :
        power = power*(1 + y)
    else :
        power = power*(1 - z)
print ("365天后的能量值是：{:.3f}". format (power))
